package com.sephiron.clocksynchronizer;

import android.support.v4.app.Fragment;
import android.net.Uri;
import java.util.Calendar;

public class SetDateNTimeWithPictureActivity extends SingleFragmentActivity {
    private Calendar calendar;


    @Override
    protected Fragment createFragment() {
        // real calendar is not needed in this fragment, so only cctv calendar is put into args
        calendar = (Calendar) getIntent().getSerializableExtra(SetDateNTimeWithPictureFragment.EXTRA_CCTV_CALENDAR);
        String imagePath = getIntent().getStringExtra(SetDateNTimeWithPictureFragment.EXTRA_PICTURE_PATH);
        return SetDateNTimeWithPictureFragment.newInstance(calendar, imagePath);
    }


}
